package com.project.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 统计对象（名称（name），总额(value)）
 */
@Data
@ApiModel(value = "统计对象")
public class CountBean {
    @ApiModelProperty(value = "名称")
    private String name;//名称
    @ApiModelProperty(value = "总额")
    private Integer value;//总额

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getValue() {
        return value;
    }

    public void setValue(Integer value) {
        this.value = value;
    }

    @Override
    public String toString() {
        return "CountBean{" +
                "name='" + name + '\'' +
                ", value=" + value +
                '}';
    }
}
